public class Stringdemo {
    static void main() {
        String   s1= new String("abc");
        String  s2= "Abc";
        System.out.println(s1==s2);

       boolean result= s1.equals(s2);
        System.out.println(result);


        boolean  result2= s1.equalsIgnoreCase(s2);
        System.out.println(result2);

    }
}
